﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace machine_registration.Services
{
    public static  class Dialog
    {
        public static void  ShowConfirmationDialog(string title, string message)
        {
            var dialog = new Wpf.Ui.Controls.MessageBox
            {
                Title = title,
                Content = message,
                //CloseButtonText = "Cancel",
                PrimaryButtonText = "我已知晓"
            };

            var result =  dialog.ShowDialogAsync();

        }
    }
}
